package Work02.Task01;

/**
 * @Author: lu
 * @Date: 2021/8/20 2:05
 * @Description:
 */
public class Manager {
    private String name;
    private String id;
    private int salary;
    private int reward;

    public Manager() {
    }

    public Manager(String name, String id, int salary, int reward) {
        setName(name);
        setId(id);
        setSalary(salary);
        setReward(reward);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public double getReward() {
        return reward;
    }

    public void setReward(int reward) {
        this.reward = reward;
    }

    public void work(){
        System.out.println("工号为"+getId()+"基本工资为"+getSalary()+"奖金为"+getReward()+"的项目经理"+getName()+"正在努力的做着管理工作,分配任务,检查员工提交上来的代码....");
    }
}
